﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004CD RID: 1229
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildReRandomStageCsReq : IMessage<EvolveBuildReRandomStageCsReq>, IMessage, IEquatable<EvolveBuildReRandomStageCsReq>, IDeepCloneable<EvolveBuildReRandomStageCsReq>, IBufferMessage
	{
		// Token: 0x17000FF2 RID: 4082
		// (get) Token: 0x0600379B RID: 14235 RVA: 0x000998D8 File Offset: 0x00097AD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildReRandomStageCsReq> Parser
		{
			get
			{
				return EvolveBuildReRandomStageCsReq._parser;
			}
		}

		// Token: 0x17000FF3 RID: 4083
		// (get) Token: 0x0600379C RID: 14236 RVA: 0x000998DF File Offset: 0x00097ADF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildReRandomStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000FF4 RID: 4084
		// (get) Token: 0x0600379D RID: 14237 RVA: 0x000998F1 File Offset: 0x00097AF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildReRandomStageCsReq.Descriptor;
			}
		}

		// Token: 0x0600379E RID: 14238 RVA: 0x000998F8 File Offset: 0x00097AF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildReRandomStageCsReq()
		{
		}

		// Token: 0x0600379F RID: 14239 RVA: 0x00099900 File Offset: 0x00097B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildReRandomStageCsReq(EvolveBuildReRandomStageCsReq other) : this()
		{
			this.levelId_ = other.levelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060037A0 RID: 14240 RVA: 0x00099925 File Offset: 0x00097B25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildReRandomStageCsReq Clone()
		{
			return new EvolveBuildReRandomStageCsReq(this);
		}

		// Token: 0x17000FF5 RID: 4085
		// (get) Token: 0x060037A1 RID: 14241 RVA: 0x0009992D File Offset: 0x00097B2D
		// (set) Token: 0x060037A2 RID: 14242 RVA: 0x00099935 File Offset: 0x00097B35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x060037A3 RID: 14243 RVA: 0x0009993E File Offset: 0x00097B3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildReRandomStageCsReq);
		}

		// Token: 0x060037A4 RID: 14244 RVA: 0x0009994C File Offset: 0x00097B4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildReRandomStageCsReq other)
		{
			return other != null && (other == this || (this.LevelId == other.LevelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060037A5 RID: 14245 RVA: 0x0009997C File Offset: 0x00097B7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060037A6 RID: 14246 RVA: 0x000999BB File Offset: 0x00097BBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060037A7 RID: 14247 RVA: 0x000999C3 File Offset: 0x00097BC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060037A8 RID: 14248 RVA: 0x000999CC File Offset: 0x00097BCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060037A9 RID: 14249 RVA: 0x00099A00 File Offset: 0x00097C00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060037AA RID: 14250 RVA: 0x00099A3E File Offset: 0x00097C3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildReRandomStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060037AB RID: 14251 RVA: 0x00099A6F File Offset: 0x00097C6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060037AC RID: 14252 RVA: 0x00099A78 File Offset: 0x00097C78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.LevelId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040015F8 RID: 5624
		private static readonly MessageParser<EvolveBuildReRandomStageCsReq> _parser = new MessageParser<EvolveBuildReRandomStageCsReq>(() => new EvolveBuildReRandomStageCsReq());

		// Token: 0x040015F9 RID: 5625
		private UnknownFieldSet _unknownFields;

		// Token: 0x040015FA RID: 5626
		public const int LevelIdFieldNumber = 7;

		// Token: 0x040015FB RID: 5627
		private uint levelId_;
	}
}
